<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/page/share/taglib.jsp" %>
<html>
<head>
<title>门诊管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language="JavaScript">
<!--
	//到指定的分页页面
	function topage(page){
		var form = document.forms[0];
		form.page.value=page;
		form.submit();
	}
//-->
</script>
<SCRIPT language=JavaScript src="../../js/FoshanRen.js"></SCRIPT>
</head>

<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0">
  <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center">
    <s:form action="clinicmanageaction">
    <s:hidden name="index"></s:hidden>
    <s:hidden name="name"></s:hidden>
    <s:hidden name="query"></s:hidden>
    <td colspan="5"  bgcolor="6f8ac4" align="right" >
    	当前页:${pageView.currentpage} | 总记录数:${pageView.totalresult} | 每页显示数:${pageView.maxresult} | 总页数:${pageView.totalpage }
    	<c:forEach begin="${pageView.pageindex.startindex}" end="${pageView.pageindex.endindex}" var="index">
    		<s:url id="url" action="clinicaction">
    			<s:param name="pageID">${index}</s:param>
    		</s:url>
    		<s:a href="%{url}">第${index}页</s:a>      		
    	</c:forEach>
   </td>
    <tr>
    	<td width="20%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">门诊编号</font></div></td>
    	<td width="5%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">修改</font></div></td>
      	<td width="15%"  bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">门诊名称</font></div></td>
	  	<td width="5%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">门诊类别</font></div></td>
    	<td width="11%" bgcolor="6f8ac4"> <div align="center"><font color="#FFFFFF">备注</font></div></td>
    </tr>
<!---------------------------LOOP START------------------------------>
<s:iterator value="pageView.records" id="clinic" status="st">
    <tr>
      <td bgcolor="f5f5f5"> <div align="center"><s:property value="clinic_Id"/> </div></td>
      <td bgcolor="f5f5f5"> <div align="center"></div></td> 
      <td bgcolor="f5f5f5"> <div align="center"><s:property value="clinic_Name" /> <font color=red></font></div></td>
      <td bgcolor="f5f5f5"> <div align="center"><s:property value="clinic_Sort" /> <font color=red></font></div></td>
      <td bgcolor="f5f5f5"> <div align="center"><s:property value="clinic_Remark" /> <font color=red></font></div></td>
	</tr>
</s:iterator>
    <!----------------------LOOP END------------------------------->
    <tr> 
      <td bgcolor="f5f5f5" colspan="6" align="center"><table width="100%" border="0" cellspacing="1" cellpadding="3">
          <tr> 
            <td width="5%"></td>
              <td width="85%">
              	<s:submit name="add" method="addUI" value="门诊添加" ></s:submit>             
               &nbsp;&nbsp;
			   <s:submit name="query" method="queryUI" value="查询" ></s:submit>&nbsp;&nbsp;
            </td>
          </tr>
        </table></td>
    </tr>
    </s:form>  
  </table>

</body>
</html>